/**
 * @filename:SaleOrderDetail Feb 18, 2025
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**   
 * @Description:TODO(销售订单详情实体类)
 * 
 * @author: Wonder
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_qing_sale_order_detail")
@ApiModel(value="t_qing_sale_order_detail对象", description="销售订单详情表")
public class QingSaleOrderDetail extends Model<QingSaleOrderDetail> {

	private static final long serialVersionUID = 1739844547086801L;
	
	@TableId(value ="Id", type = IdType.AUTO)
	@ApiModelProperty(name = "Id" , value = "主键")
    private Long Id;

    @TableField(value = "CusBillNo")
    @ApiModelProperty(name = "CusBillNo" , value = "客户订单号")
    private String CusBillNo;


    @TableField(value = "CusPartNo") 	
	@ApiModelProperty(name = "CusPartNo" , value = "客户件号")
    private String CusPartNo;

    @TableField(value = "MaterialNo")
	@ApiModelProperty(name = "MaterialNo" , value = "物料编码")
    private String MaterialNo;

    @TableField(value = "MaterialName")
    @ApiModelProperty(name = "MaterialName" , value = "物料名称")
    private String MaterialName;

    @TableField(value = "Specification")
    @ApiModelProperty(name = "Specification" , value = "规格型号")
    private String Specification;

    @TableField(value = "UnitName")
    @ApiModelProperty(name = "UnitName" , value = "单位名称")
    private String UnitName;

    @TableField(value = "UnitNo")
    @ApiModelProperty(name = "UnitNo" , value = "单位编码")
    private String UnitNo;
    
    @TableField(value = "Qty") 	
	@ApiModelProperty(name = "Qty" , value = "数量")
    private Double Qty;
    
    @TableField(value = "TaxPrice") 	
	@ApiModelProperty(name = "TaxPrice" , value = "含税单价")
    private Double TaxPrice;
    
    @TableField(value = "TaxRate") 	
	@ApiModelProperty(name = "TaxRate" , value = "税率")
    private Long TaxRate;
    
    @TableField(value = "IsGift")
	@ApiModelProperty(name = "IsGift" , value = "是否为赠品")
    private Boolean IsGift;
    
    @TableField(value = "ShipDate")
	@ApiModelProperty(name = "ShipDate" , value = "船期")
    private Date ShipDate;

    @TableField(value = "Type")
    @ApiModelProperty(name = "Type" , value = "变更类型(新增,修改,删除,没有值也是修改)")
    private String Type;

    @TableField(value = "CwLot")
    @ApiModelProperty(name = "CwLot" , value = "储位/批号")
    private String CwLot;

	@Override
    public Serializable pkVal() {
        return this.Id;
    }
   
}
